사이트 내 전체검색
우분투 10.04 bata 1 설치후 할일 한방에 끝내기
로빈아빠
https://cmd.kr/server/612 URL이 복사되었습니다.

본문

설치후 이것 저것 설정하기 귀찮아서 9.10 때 만들어둔 것 인데.
이번에 미루고 미루던 10.04 bata1 을 설치했습니다.
그래서 이것도 10.04 bata1 맞게 업데이트 해봤습니다.

아래 index1.sh, index2.sh 스크립트를 실행 권한으로 만든후 "$ bash index1.sh" 실행합니다.


* 중요한점은 루트권한으로 실행하지 말것 (루트권한이 필요한 스크립트가 따로 나누어져있고 실행시 알아서 물어봅니다)
* 실행 완료후엔 로그아웃 한번 해줄것

-- index1.sh
#!/bin/bash

## 루트권환이 필요한 스크립트 ##
sudo bash install2.sh


## 루트권환이 필요없는스크립트 ##

#바탕화면 마운트된 드라이브 감추기
gconftool-2 --type bool --set /apps/nautilus/desktop/volumes_visible false

#노틸러스 파일 속성창 권한설정 탭 확장
gconftool-2 --type bool --set /apps/nautilus/preferences/show_advanced_permissions true

#터미널 가변폭 폰트 설정 (10.04 에선 Default 가 Ambiance 변경)
gconftool-2 --type bool --set /apps/gnome-terminal/profiles/Ambiance/use_system_font false
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Ambiance/font "DejaVu Sans Mono 10"
gconftool-2 --type bool --set /apps/gnome-terminal/profiles/Default/use_system_font false
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/font "DejaVu Sans Mono 10"

#터미널 색상 변경 (10.04 에선 Ambiance 변경되고 이게 기본 설정이지만  혹시 모르니 Default 도 입력해둠)
gconftool-2 --type bool --set /apps/gnome-terminal/profiles/Default/use_theme_colors false
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/background_color "#000000000000"
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/foreground_color "#AAAAAAAAAAAA"
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/background_type "transparent"
gconftool-2 --type float --set /apps/gnome-terminal/profiles/Default/background_darkness 0.8

#터미널 단축키 alt+F3
gconftool-2 --type string --set /apps/metacity/global_keybindings/run_command_terminal "<Alt>F3"

#시스템 모니터 단축키 추가 ctrl+win+del
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/action "gnome-system-monitor"
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/binding "<Control><Mod4>Delete"
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/name "Gnome System Monitor"

#스크린샷 도구 단축키 추가 ctrl+win+S
gconftool-2 --type string --set /desktop/gnome/keybindings/custom1/action "gnome-screenshot --interactive"
gconftool-2 --type string --set /desktop/gnome/keybindings/custom1/binding "<Control><Mod4>S"
gconftool-2 --type string --set /desktop/gnome/keybindings/custom1/name "Gnome Screenshot Tool"

#Gedit 한글깨짐 해결 (<=9.10)
#gconftool-2 --type list --list-type=string --set /apps/gedit-2/preferences/encodings/auto_detected "[UHC,UTF-8,CURRENT,JOHAB,ISO-8859-15,UTF-16]"


-- index2.sh
#!/bin/bash

#관리자 모드로 실행
if [ "$(/usr/bin/whoami)" != "root" ]; then
echo "error"
exit 1
fi

###### 제거할 프로그램들 ######

#기본 게임들 제거
apt-get -y purge gnome-games-common

##########################


###### 설치할 프로그램들 ######

#가독성을 위해 무료 폰트 설치
#cp ./addition_fonts/*.ttc /usr/share/fonts/truetype
#cp ./addition_fonts/*.ttf /usr/share/fonts/truetype

#플래쉬 플러그인 설치
apt-get -y install flashplugin-installer

#노틸러스 확장메뉴
apt-get -y install nautilus-gksu
apt-get -y install nautilus-open-terminal

#비디오,오디오 코덱
apt-get -y install gstreamer0.10-ffmpeg
apt-get -y install gstreamer0.10-fluendo-mp3
apt-get -y install gstreamer0.10-plugins-ugly

#non-free-codecs (w32codec, w64codec)
#wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list -O /etc/apt/sources.list.d/medibuntu.list
#wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | apt-key add - && apt-get update
#apt-get -y install non-free-codecs


#geany 에디터 설치
#apt-get -y install geany, geany-plugins

#Smplayer 플레이어
apt-get -y install smplayer

#VLC 플레이어
#apt-get -y install vlc

#Music-applet 설치
apt-get -y install music-applet

#Conky 설치
#apt-get -y install conky

#PDF FoxitReader 설치
#mkdir /usr/share/FoxitReader
#cp -r ./FoxitReader-1.1-release/* /usr/share/FoxitReader
#ln -s /usr/share/FoxitReader/FoxitReader /usr/bin

##########################


########### 설정 ###########

#백업 드라이브 자동 마운트
#if [ -e "/etc/fstab.backup" ]; then
#cp /etc/fstab.backup /etc/fstab
#else
#cp /etc/fstab /etc/fstab.backup
#fi
#mkdir "/media/STORAGE-1"
#mkdir "/media/STORAGE-2"
#mkdir "/media/STORAGE-3"
#echo "#auto mount storage drive" >> /etc/fstab
#echo "/dev/sdb1        /media/STORAGE-1      ntfs         defaults,uid=1000,gid=1000,umask=000    0         0" >> /etc/fstab
#echo "/dev/sdc1        /media/STORAGE-2      ntfs         defaults,uid=1000,gid=1000,umask=000    0         0" >> /etc/fstab
#echo "/dev/sdd1        /media/STORAGE-3      ntfs         defaults,uid=1000,gid=1000,umask=000    0         0" >> /etc/fstab

#터미널 색상 입히기
if [ ! -e "$HOME/.bashrc.backup" ]; then
mv "$HOME/.bashrc" "$HOME/.bashrc.backup"
fi
while read -ers line ; do
if [ "$line" = "alias ls='ls --color=auto'" ]; then
echo "alias ls='ls -F --color=auto'"
else
echo $line
if [ "$line" = "#force_color_prompt=yes" ]; then

댓글목록

등록된 댓글이 없습니다.

1,139 (6/23P)

Search

Copyright © Cmd 명령어 3.137.187.121